import { ajax } from "../axios"
import registerUrls from "../urls/register"

export default {
  // 账号密码登陆
  getCode (data) {
    return ajax(registerUrls.getCode, data, "POST")
  },
  register (data) {
    return ajax(registerUrls.register, data, "POST")
  }
}
